﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Tasks.Common.Entitys
{
    /// <summary><c>TicketGroupProduct</c> Business Object.</summary>
    [Serializable]
    public partial class TicketGroupProduct
    {

        #region ID

        private Int32 m_iD;

        /// <summary>Gets or sets ID</summary>
        public Int32 ID
        {
            get { return m_iD; }
            set { m_iD = value; }
        }

        #endregion

        #region ProductID

        private Int32 m_productID;

        /// <summary>Gets or sets ProductID</summary>
        public Int32 ProductID
        {
            get { return m_productID; }
            set { m_productID = value; }
        }

        #endregion

        #region ProductType

        private Int32 m_productType;

        /// <summary>Gets or sets ProductType</summary>
        public Int32 ProductType
        {
            get { return m_productType; }
            set { m_productType = value; }
        }

        #endregion

        #region ProductName

        private String m_productName;

        /// <summary>Gets or sets ProductName</summary>
        public String ProductName
        {
            get { return m_productName; }
            set { m_productName = value; }
        }

        #endregion

        #region Count

        private Int32 m_count;

        /// <summary>Gets or sets Count</summary>
        public Int32 Count
        {
            get { return m_count; }
            set { m_count = value; }
        }

        #endregion

        #region UnitPrice

        private Decimal m_unitPrice;

        /// <summary>Gets or sets UnitPrice</summary>
        public Decimal UnitPrice
        {
            get { return m_unitPrice; }
            set { m_unitPrice = value; }
        }

        #endregion

        #region Money

        private Decimal m_money;

        /// <summary>Gets or sets Money</summary>
        public Decimal Money
        {
            get { return m_money; }
            set { m_money = value; }
        }

        #endregion


        #region TicketGroupID

        private Int32 m_ticketGroupID;

        /// <summary>Gets or sets TicketGroupID</summary>
        public Int32 TicketGroupID
        {
            get { return m_ticketGroupID; }
            set { m_ticketGroupID = value; }
        }

        #endregion

        #region 扩展字段

        #region Name

        private String m_name;

        /// <summary>Gets or sets Name</summary>
        public String Name
        {
            get { return m_name; }
            set { m_name = value; }
        }

        #endregion

        #region Price

        private Decimal m_price;

        /// <summary>Gets or sets Price</summary>
        public Decimal Price
        {
            get { return m_price; }
            set { m_price = value; }
        }

        #endregion

        #region Intro

        private String m_intro;

        /// <summary>Gets or sets Intro</summary>
        public String Intro
        {
            get { return m_intro; }
            set { m_intro = value; }
        }

        #endregion

        #region Remark

        private String m_remark;

        /// <summary>Gets or sets Remark</summary>
        public String Remark
        {
            get { return m_remark; }
            set { m_remark = value; }
        }

        #endregion

        #region UserCount

        private Int32 m_userCount;

        /// <summary>Gets or sets UserCount</summary>
        public Int32 UserCount
        {
            get { return m_userCount; }
            set { m_userCount = value; }
        }

        #endregion

        #region AvailableDay

        private Int32 m_availableDay;

        /// <summary>Gets or sets AvailableDay</summary>
        public Int32 AvailableDay
        {
            get { return m_availableDay; }
            set { m_availableDay = value; }
        }

        #endregion

        #region State

        private Int32 m_state;

        /// <summary>Gets or sets State</summary>
        public Int32 State
        {
            get { return m_state; }
            set { m_state = value; }
        }

        #endregion

        public DateTime AvailableTime1 { get; set; }
        public DateTime AvailableTime2 { get; set; }

        public int TPID { get; set; }

        #endregion

        public int OwnerID { get; set; }
        public int ProductChildID { get; set; }
    }

}
